<template>
  <div>
    <div class="total-amount">
      <div class="total-amount-title">操作记录</div>
    </div>
    <el-timeline>
      <el-timeline-item
        v-for="(activity, index) in orderDetails.editLogs"
        :key="index"
        type="primary"
        hollow="true"
      >
        {{ activity }}
      </el-timeline-item>
    </el-timeline>
  </div>
</template>

<script setup>
const props = defineProps({
  orderDetails: {
    type: Object,
    default: () => {},
  },
});
</script>

<style lang="less" scoped>
.total-amount {
  margin-bottom: 17px;
}
.total-amount-title {
  font-weight: 600;
  font-size: 16px;
  color: #1d2129;
}
</style>
